package sim;

public abstract class Event implements Comparable<Event>{
	public int time;
	public int routerID;
	public LSA payload;
	
	public Event(int time_, int routerID_, LSA payload_){time = time_; routerID = routerID_; payload = payload_;}
	
	public abstract void execute();
	
	public int compareTo(Event e){
		return this.time - e.time;
	}
}
